UnifiedRequester

class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)

Functions

createStandardWebsocketFlow
Link copied to clipboard
common
fun <T> createStandardWebsocketFlow(url: String, checkReconnection: (Throwable?) -> Boolean = { true }, deserializer: DeserializationStrategy<T>): <ERROR CLASS>
encodeUrlQueryValue
Link copied to clipboard
common
fun <T> encodeUrlQueryValue(serializationStrategy: SerializationStrategy<T>, value: T): String
uniget
Link copied to clipboard
common
suspend fun <ResultType> uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>): ResultType
unimultipart
Link copied to clipboard
common
suspend fun <ResultType> unimultipart(url: String, mppFile: MPPFile, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <BodyType, ResultType> unimultipart(url: String, mppFile: MPPFile, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
suspend fun <BodyType, ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
unipost
Link copied to clipboard
common
suspend fun <BodyType, ResultType> unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>): <ERROR CLASS>

Properties

client
Link copied to clipboard
common
val client: <ERROR CLASS>
serialFormat
Link copied to clipboard
common
val serialFormat: StandardKtorSerialFormat